package com.canlihao.ui.utils;

/*******
 *
 *Created by 李魏
 *
 *创建时间 2019/12/30
 *
 *类描述：
 *eventbus的使用类
 ********/
public class EventMessage {
    public int type = 0;
    public static String message;
    public static String userId;
    //请求到权限之后可更新
    public static int PermissinFirst = 1;
    //取消之后的跳转
    public static int LaunchOff = 2;
    //接收到没有摄像头的通知
    public static int NoCamera = 3;
    public static EventMessage getInstance(String message,int type,String userId) {
        return new EventMessage(message,type,userId);
    }

    public EventMessage(String message, int type, String userId) {
        this.message = message;
        this.type = type;
        this.userId = userId;
    }

}
